<template>
	<!-- 社区巡查添加 -->
	<view class="building-add">
		<view class="add-content">
			<view class="add-item">
				<view class="item-left">巡查名称<text>*</text></view>
				<view class="item-right"><input placeholder-style="color:#999;font-size:26rpx" placeholder="请填写建筑名称"></view>
			</view>
			<view class="add-item">
				<view class="item-left">执行人<text>*</text></view>
				<view class="item-right">请选择网格</view>
			</view>
			<view class="add-item">
				<view class="item-left">巡查要求</view>
				<view class="item-right"><textarea placeholder-style="color:#999;font-size:26rpx" placeholder="请输入..."></textarea></view>
			</view>
		</view>
		<view class="comunity-content">
			<view class="content">
				<view class="con-head">巡查地点1</view>
				<view class="add-content">
					<view class="add-item">
						<view class="item-left">目的地<text>*</text></view>
						<view class="item-right">请选择</view>
					</view>
					<view class="add-item">
						<view class="item-left">巡查事项<text>*</text></view>
						<view class="item-right">请选择</view>
					</view>
					<view class="add-item">
						<view class="item-left">计划巡查日期时间<text>*</text></view>
						<view class="item-right">请选择</view>
					</view>
					<view class="add-item">
						<view class="item-left">关联人<text>*</text></view>
						<view class="item-right">关联人</view>
					</view>
				</view>
			</view>
		</view>
		<view class="community-addmudidi">添加目的地</view>
		<view class="btn">
			<view class="btn-1">保存</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		mounted() {
			
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.building-add {
		background-color: #f5f6f7;
		min-height: 100vh;

		.add-head {
			display: flex;
			justify-content: space-between;
			align-items: center;
			background-color: #fff;
			height: 180rpx;
			padding: 20rpx;

			.head-left {
				.head-left-1 {
					color: #000;
					font-size: 28rpx;
					font-weight: 600;
				}
				.head-left-2 {
					color: #999;
					font-size: 24rpx;
					margin-top: 20rpx;
				}
			}
			.head-right {
				background-color: #999;
				display: flex;
				justify-content: center;
				align-items: center;
				border-radius: 10rpx;
				width: 150rpx;
				height: 150rpx;

				image {
					width: 50%;
					height: 50%;
				}
			}
			.head-right2 {
				background-color: #999;
				display: flex;
				justify-content: center;
				align-items: center;
				border-radius: 10rpx;
				width: 150rpx;
				height: 150rpx;
			}
		}
		.add-content {
			margin-top: 20rpx;

			.add-item {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 20rpx;
				background-color: #fff;
				border-bottom: 1px solid #f4f1f1;

				.item-left {
					color: #333;
					font-size: 28rpx;
					min-width: 100rpx;

					text {
						color: #DD524D;
					}
				}

				.item-right {
					font-size: 26rpx;
					color: #999;

					input {
						text-align: right;
					}

					textarea {}
				}
			}
		}
		.comunity-content{
			padding: 20rpx;
			width: 100%;
			margin-top: 50rpx;
			.content{
				box-shadow: 3px 3px 3px #eee;
				border-radius: 10rpx;
				.con-head{
					padding: 20rpx;
					background-image: linear-gradient(to right,#c6dbf8,#d3e8fd);
					color: #007AFF;
					font-size: 28rpx;
				}
				.add-content {
				
					.add-item {
						display: flex;
						justify-content: space-between;
						align-items: center;
						padding: 20rpx;
						background-color: #fff;
						border-bottom: 1px solid #f4f1f1;
				
						.item-left {
							color: #333;
							font-size: 28rpx;
							min-width: 100rpx;
				
							text {
								color: #DD524D;
							}
						}
				
						.item-right {
							font-size: 26rpx;
							color: #999;
				
							input {
								text-align: right;
							}
				
							textarea {}
						}
					}
				}
			}
		}
		.community-addmudidi{
			border: 1px solid #007AFF;
			color: #007AFF;
			font-size: 22rpx;
			width: 150rpx;
			height: 45rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			border-radius: 30rpx;
			margin: 10rpx auto;
		}
		.btn {
			width: 100%;
			height: 110rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			color: #fff;
			font-size: 30rpx;
			background-color: #f4f1f1;
			position: fixed;
			bottom: 0;
			left: 0;
			border-top: 1px solid #999;

			.btn-1 {
				background-color: #007AFF;
				display: flex;
				justify-content: center;
				align-items: center;
				width: 600rpx;
				height: 80rpx;
				border-radius: 40rpx;
			}
		}
	}
</style>
